package com.example.demo.area.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo.area.dao.Area;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Entity generator.dao.Area
 */
@Repository
public interface AreaMapper extends BaseMapper<Area> {



    List<Integer> getSubIds(@Param("parentId") Integer parentId);

    List<Area> getAll();
}




